/**
 * @filename:InspectDetail Jan 21, 2025
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**   
 * @Description:TODO(来料检验单详情实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_pur_inspect_detail")
@ApiModel(value="t_pur_inspect_detail对象", description="来料检验单详情表")
public class InspectDetail extends Model<InspectDetail> {

	private static final long serialVersionUID = 1737406535856929L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "")
    private Long id;
    
    @TableField(value = "billNo") 	
	@ApiModelProperty(name = "billNo" , value = "单据编号")
    private String billNo;
    
    @TableField(value = "materialName") 	
	@ApiModelProperty(name = "materialName" , value = "物料名称")
    private String materialName;
    
    @TableField(value = "materialNo") 	
	@ApiModelProperty(name = "materialNo" , value = "物料编码")
    private String materialNo;
    
    @TableField(value = "specification") 	
	@ApiModelProperty(name = "specification" , value = "规格")
    private String specification;
    
    @TableField(value = "unitName") 	
	@ApiModelProperty(name = "unitName" , value = "单位名称")
    private String unitName;
    
    @TableField(value = "unitNo") 	
	@ApiModelProperty(name = "unitNo" , value = "单位编号")
    private String unitNo;
    
    @TableField(value = "flot") 	
	@ApiModelProperty(name = "flot" , value = "批次号")
    private String flot;
    
    @TableField(value = "inspectQty") 	
	@ApiModelProperty(name = "inspectQty" , value = "检验数量")
    private Double inspectQty;
    
    @TableField(value = "unqualifiedQty") 	
	@ApiModelProperty(name = "unqualifiedQty" , value = "不合格数量")
    private Double unqualifiedQty;
    
    @TableField(value = "qualifiedQty") 	
	@ApiModelProperty(name = "qualifiedQty" , value = "合格数量")
    private Double qualifiedQty;
    
    @TableField(value = "result") 	
	@ApiModelProperty(name = "result" , value = "检验结果")
    private String result;

    @TableField(value = "FAuxUnitNo")
    @ApiModelProperty(name = "FAuxUnitNo" , value = "辅助单位编码")
    private String FAuxUnitNo;

    @TableField(value = "FAuxUnitName")
    @ApiModelProperty(name = "FAuxUnitName" , value = "辅助单位名称")
    private String FAuxUnitName;


    @TableField(value = "isChecked")
    @ApiModelProperty(name = "isChecked" , value = "是否质检")
    private Boolean isChecked;

    @TableField(value = "receiveBillNo")
    @ApiModelProperty(name = "receiveBillNo" , value = "收料通知单号")
    private String receiveBillNo;


    @TableField(value = "isAbnomal")
    @ApiModelProperty(name = "isAbnomal" , value = "是否异常")
    private Boolean isAbnomal;

    @TableField(value = "abBillNo")
    @ApiModelProperty(name = "abBillNo" , value = "异常处理单号")
    private String abBillNo;


    @TableField(value = "remark")
    @ApiModelProperty(name = "remark" , value = "备注")
    private String remark;

    @TableField(value = "stockNo")
    @ApiModelProperty(name = "stockNo" , value = "仓库编号")
    private String stockNo;

    @TableField(value = "stockName")
    @ApiModelProperty(name = "stockName" , value = "仓库名称")
    private String stockName;

    @TableField(value = "reveiveId")
    @ApiModelProperty(name = "reveiveId" , value = "收料详情id")
    private Long reveiveId;
	@Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
